<template>
	<view>
		<view class="bill">
			<Bill title="账单单据" no="7758258520">
				<view class="detail_item">
					<view class="detail_title">支付金额</view>
					<view class="detail_content advance_amount">53.00元</view>
				</view>
				<view class="detail_item">
					<view class="detail_title">付款方式</view>
					<view class="detail_content">余额</view>
				</view>
				<view class="detail_item">
					<view class="detail_title">对方账户</view>
					<view class="detail_content">张三</view>
				</view>
				<view class="detail_item">
					<view class="detail_title">创建时间</view>
					<view class="detail_content">2020-07-21</view>
				</view>
				<view class="detail_item">
					<view class="detail_title">备注</view>
					<view class="detail_content">"我养你啊"</view>
				</view>
				<view class="detail_item">
					<view class="detail_title">订单号</view>
					<view class="detail_content">7758258520</view>
				</view>
				<view class="footer_slot" slot="footer">
					注：本次消费如有退款，将会在一分钟内原路退回支付账户，请在相关账户确认退款金额到账情况 <br>
				</view>
			</Bill>
		</view>
	</view>
</template>

<script>
	import Bill from '@/components/bill/bill.vue'
	export default {
		components: {
			Bill
		},
		data() {
			return {
				billDetail: {}
			};
		},
		onLoad(options) {
		},
		methods: {

		}
	}
</script>
<style>
	page{
		background-color: #F1F0F5;
	}
</style>

<style lang="scss" scoped>
	.bill {
		background: #FFF;
		margin: 24rpx 24upx 0;
	}

	.footer_slot {
		padding: 32upx 0;
		color: #858b9c;
		font-size: 22upx;
		line-height: 1.5;
		border-top: 1px solid #e1e4eb;
	}

	.detail_item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		line-height: 1.35;
		font-size: 28upx;
		padding-top: 12upx;
		padding-bottom: 12upx;

		.detail_title {
			flex-shrink: 0;
			color: #858b9c;
		}

		.detail_content {
			flex: 1 1 0%;
			color: #41485d;
			display: flex;
			align-items: center;
			justify-content: flex-end;
			margin-left: 12px;

			&.advance_amount {
				color: #E74c3c;
				font-size: 46upx;
			}

			&.refund_amount {
				color: #F0AD4E;
				font-size: 46upx;
			}

			.paytype_icon {
				width: 32upx;
				height: 32upx;
				line-height: 32upx;
				margin-right: 10upx;
			}

			.icon_box {
				display: flex;
				align-items: center;
				justify-content: flex-end;
			}
		}
	}
</style>
